﻿using System;

namespace Sanjeet.FastCopy.FileCopyLogic.Design3
{
    public delegate void CallOperation();

    /// <summary>
    /// 
    /// </summary>
    public interface IAsyncOperation
    {
        /// <summary>
        /// 
        /// </summary>
        CallOperation CallOperation { get; set; }

        /// <summary>
        /// 
        /// </summary>
        void BeginOperation();

        /// <summary>
        /// 
        /// </summary>
        void EndOperation();

        event EventHandler<EventArgs> Complete;
    }
}